package com.antdesignbackend.backend.mapper;

import com.antdesignbackend.backend.entity.ButcheVolume;
import com.antdesignbackend.backend.entity.entityVo.ButcheVolumeVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ButcheVolumeMapper extends BaseMapper<ButcheVolume> {
    List<ButcheVolumeVo> search(@Param(Constants.WRAPPER) QueryWrapper<ButcheVolumeVo> butcheVolumeVoQueryWrapper, Page<ButcheVolumeVo> butcheVolumeVoPage);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<ButcheVolumeVo> butcheVolumeVoQueryWrapper);
}
